﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
<%@ Register Assembly="TechnullogyWeather" Namespace="Technullogy.Web.UI.Weather" TagPrefix="Technullogy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="content-container-two-column">
    <div id="content-main-two-column">
            <h1>Technullogy .NET Controls</h1>
            <Technullogy:Weather ID="Weather1" runat="server"
                EnableCaching="true" 
                ForecastDaysToDisplay="4"
                LicenseKey="016f0bffb3da097c" 
                PartnerId="1060314946"
                ShowUvIndex="False" 
                ShowVisibility="False" 
                ShowWindChill="False"
                TodayIconSize="Large"/>
            
            <center>
                <asp:ImageButton id="btnPayPal1" runat="server" Tooltip="Support Technullogy!" ImageUrl="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" OnClick="btnPayPal_Click" />
            </center>   
    </div>
    <div id="content-side-two-column">
        <table>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <br />
                        <strong>
                        Technullogy Weather</strong></td>
                </tr>
                <tr>
                    <td style="white-space: nowrap">
                        Forecast</td>
                    <td>
                        <asp:CheckBox ID="cbForecast" runat="server" /></td>
                </tr>
                <tr>
                    <td style="white-space: nowrap">
                        Fc
                        Days</td>
                    <td>
                        <asp:TextBox ID="txtForecastDays" runat="server" Width="50px"></asp:TextBox>
                        <asp:RequiredFieldValidator id="reqDays" ControlToValidate="txtForecastDays" ErrorMessage="*" runat="server" Display="Dynamic" SetFocusOnError="True"/>
                        <asp:CompareValidator id="compDays" ControlToValidate="txtForecastDays" ErrorMessage="Enter Integer" runat="server" Operator="DataTypeCheck" SetFocusOnError="True" Type="Integer" Display="Dynamic"/>
                        <asp:RangeValidator ID="rangeDays" runat="server" ControlToValidate="txtForecastDays"
                            Display="Dynamic" ErrorMessage="1-10" MaximumValue="10" MinimumValue="1"
                            SetFocusOnError="True" Type="Integer"></asp:RangeValidator></td>
                </tr>
            <tr>
                <td style="white-space: nowrap">
                        Main Icon</td>
                <td>
                        <asp:DropDownList ID="ddlTodayIconSize" runat="server">
                            <asp:ListItem Value="Small">Small</asp:ListItem>
                            <asp:ListItem Value="Medium">Medium</asp:ListItem>
                            <asp:ListItem Value="Large">Large</asp:ListItem>
                            <asp:ListItem Value="ExtraLarge">Extra Large</asp:ListItem>
                        </asp:DropDownList></td>
            </tr>
                <tr>
                    <td style="white-space: nowrap">
                        Fc Icon</td>
                    <td>
                        <asp:DropDownList ID="ddlForecastIconSize" runat="server">
                            <asp:ListItem Value="Small">Small</asp:ListItem>
                            <asp:ListItem Value="Medium">Medium</asp:ListItem>
                            <asp:ListItem Value="Large">Large</asp:ListItem>
                            <asp:ListItem Value="ExtraLarge">ExtraLarge</asp:ListItem>
                        </asp:DropDownList>                        
                        </td>
                </tr>
                <tr>
                    <td>
                        Skin</td>
                    <td>
                        <asp:DropDownList ID="ddlWeatherSkin" runat="server">
                            <asp:ListItem>Blue</asp:ListItem>
                            <asp:ListItem>Green</asp:ListItem>
                            <asp:ListItem>Red</asp:ListItem>
                            <asp:ListItem>Slate</asp:ListItem>
                            <asp:ListItem>Yellow</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbWindChill" runat="server" Text="Wind Chill" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbWindDir" runat="server" Text="Wind Dir/Speed" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbDewpoint" runat="server" Text="Dewpoint" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbHumidity" runat="server" Text="Humidity" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbUvIndex" runat="server" Text="UV Index" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbVisibility" runat="server" Text="Visibility" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbBarometer" runat="server" Text="Barometric Pressure" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbPrecipChance" runat="server" Text="Precipitation Chance" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbLinks" runat="server" Text="Weather Links" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">
                        <asp:CheckBox ID="cbTwcLogo" runat="server" Text="TWC Logo" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <br />
            <asp:Button runat="server" ID="btnDemo" Text="Apply Changes" /></td>
                </tr>
            </table>
    </div>
    <div class="clear">
        &nbsp;</div>
</div>
</asp:Content>

